package com.smarthome.rpc.hkVideo;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Service;

@Service("hktokencontroller")
public class TokenController extends BaseController {

	public String getAccessToken() throws Exception {
		Map<String, Object> paramsMap = new HashMap<String, Object>();
		paramsMap.put("userId", "123456");
		paramsMap.put("phone", "15202834325");
		Map<String, Object> map = paramsInit("token/accessToken/get", paramsMap);
		return doPost(map);
	}

}
